package com.jietong.rfid.uhf.command;

public class DisCommand {
	
	/**
	 * Start Code
	 */
	public static final byte DIS_START_CODE2 = (byte)0x01;
	
	/**
	 * Read Only Once
	 */
	public static final byte DIS_INV_ONCE = (byte) 0xFF;
	
	/**
	 * Continue Read
	 */
	public static final byte DIS_INV_MULTIPLY_BEGIN = (byte) 0xFF;
	
	/**
	 *  Code Length
	 */
	public static final byte HEAD_LENGTH = 0x04;
	
	/**
	 * Version Length
	 */
	public static final byte VERSION_LENGTH = (byte)11;
	
	/**
	 * Send the command start code
	 */
	public static final byte DIS_START_CODE = (byte) 0xA0;
	
	/**
	 * Command response frame start code1
	 */
	public static final byte DIS_HEAD_CONDE1 = (byte) 0xE0;
	
	/**
	 * Command response frame start code
	 */
	public static final byte DIS_HEAD_CONDE = (byte) 0xE4;
	
	/**
	 * Gets the device version number
	 */
	public static final byte DIS_READ_VERSION = 0x6A;
	
	/**
	 * Setting a single parameter
	 */
	public static final byte DIS_SET_SINGLE_PARA = 0x60;
	
	/**
	 * Start continue Read tag
	 */
	public static final byte DIS_MULTIPLY_BEGIN = (byte) 0x65;
	
	/**
	 * Stop Continue Read Tag
	 */
	public static final byte DIS_INV_MULTIPLY_END = (byte) 0xA8;
	
	/**
	 * Identify Single tag
	 */
	public static final byte DIS_READ_SINGLE_TAG = (byte) 0x82;
	
	/**
	 * Get a single parameter
	 */
	public static final byte DIS_GET_SINGLE_PARA = 0x61;
	
	/**
	 * Designated area read tag
	 */
	public static final byte DIS_READ_TAG_DATA = (byte) 0x80;
	
	/**
	 * Designated area write tag
	 */
	public static final byte DIS_WRITE_TAG_DATA = (byte) 0x81;
	
	/**
	 * Locking tabs
	 */
	public static final byte DIS_LOCK_TAG = (byte) 0xA5;
	
	/**
	 * Set multiple parameters
	 */
	public static final byte DIS_SET_MULTI_PARA = 0x62;
	
	/**
	 * Get multiple parameters
	 */
	public static final byte DIS_GET_MULTI_PARA = 0x63;
	
	/**
	 * Get a single parameter
	 */
	public static final byte DIS_GET_SINGLE_PARA_NEW_ADD = 0x64;
	
	/**
	 * Write multiple bytes
	 */
	public static final byte DIS_WRITE_TAG_MULTI_WORD = (byte) 0xAB;
	
	/**
	 * Fast write tag
	 */
	public static final byte DIS_FAST_WRITE = (byte) 0x9C;
	
	/**
	 * According EPC Read TID
	 */
	public static final byte DIS_TID_BY_EPC = (byte) 0xAA;
	
	/**
	 * Initialization tag
	 */
	public static final byte DIS_INIT_TAG = (byte) 0x99;
	
	/**
	 * Set the sound of card reading
	 */
	public static final byte DIS_SET_BEEP = (byte) 0xB0;
	
	/**
	 * Set the sound of card reading
	 */
	public static final byte DIS_GET_BEEP = (byte) 0xC5;
	
	/**
	 * Unlock the label
	 */
	public static final byte DIS_UNLOCK_TAG = (byte) 0xA6;
	
	/**
	 * Destruction of the tag
	 */
	public static final byte DIS_KILL_TAG = (byte) 0x86;
	
	/**
	 * Set baud rate
	 */
	public static final byte DIS_SET_BAUDRATE = (byte) 0xA9;
	
	/**
	 * Stop Working
	 */
	public static final byte DIS_STOP_WORK = 0x50;
	
	/**
	 * Setting relay
	 */
	public static final byte DIS_SET_RELAY = (byte) 0xB1;
	
	/**
	 * Set authorization password
	 */
	public static final byte DIS_SET_AUTHERPWD = (byte) 0x9B;
	
	/**
	 * Read authorization password
	 */
	public static final byte DIS_TAG_AUTHER = (byte) 0x9A;
	
	/**
	 * read EPC or TID address
	 */
	public static final byte ADD_READ_EPC_OR_TID = (byte) 0xCD;
	
	/**
	 * Usb output format address
	 */
	public static final byte ADD_USB_OUTPUT_FORMAT = (byte) 0xC4;
	
	/**
	 * Relay operation
	 */
	public static final byte ADD_REALY_OPERATION = (byte) 0xC7;
	
	/**
	 * Get auther pwd
	 */
	public static final byte ADD_AUTHER_PWD = (byte) 0xBA;
	
	/**
	 * output mode
	 */
	public static final byte ADD_COMM_MODE = 0x72;
	
	/**
	 * Wiegand proto
	 */
	public static final byte ADD_WIEGAND_PROTO = 0x73;
	
	/**
	 * Wiegand pulse width
	 */
	public static final byte ADD_WIEGAND_PULSE_WIDTH = 0x74;
	
	/**
	 * Wiegand pulse cycle
	 */
	public static final byte ADD_WIEGAND_PULSE_CYCLE = 0x75;
	
	/**
	 * Wiegand takes bits and sets bits
	 */
	public static final byte ADD_WIEGAND_VALUE = (byte) 0xB4;
	
	/**
	 * Adjacent judge time
	 */
	public static final byte ADD_NEIGH_JUDGE_TIME = 0x7A;
	
	/**
	 * Adjacent judge time
	 */
	public static final byte ADD_NEIGH_JUDGE_SET = 0x7B;
	
	/**
	 * Trigger switch
	 */
	public static final byte ADD_TRIG_SWITCH = (byte) 0x80;
	
	/**
	 * Trigger mode
	 */
	public static final byte ADD_TRIG_MODE = (byte) 0x81;
	
	/**
	 * Trigger delaytime
	 */
	public static final byte ADD_TRIG_DELAYTIME = (byte) 0x84;
	
	/**
	 * Baud rate
	 */
	public static final byte ADD_BAUD_RATE = (byte) 0x85;
	
	/**
	 * Antenna work mode
	 */
	public static final byte ADD_ANT_MODE = (byte) 0x89;
	
	/**
	 * Choose antenna
	 */
	public static final byte ADD_ANT_SET = (byte) 0x8A;
	
	/**
	 * Single or multi tag
	 */
	public static final byte ADD_SINGLE_OR_MULTI_TAG = (byte) 0x87;
	/**
	 * Power
	 */
	public static final byte ADD_POWER = 0x65;
	/**
	 * Device no
	 */
	public static final byte ADD_USERCODE = (byte) 0x64;
	/**
	 * Fix frequency
	 */
	public static final byte ADD_FREQUENCY_SET = (byte) 0x90;
	/**
	 * Switch between American and European standards
	 */
	public static final byte ADD_BAND_SET = (byte) 0x8F;
	/**
	 * Frequency
	 */
	public static final byte ADD_FREQUENCY_PARA_92 = (byte) 0x92;
	public static final byte ADD_FREQUENCY_PARA_93 = (byte) 0x93;
	public static final byte ADD_FREQUENCY_PARA_94 = (byte) 0x94;
	public static final byte ADD_FREQUENCY_PARA_95 = (byte) 0x95;
	public static final byte ADD_FREQUENCY_PARA_96 = (byte) 0x96;
	public static final byte ADD_FREQUENCY_PARA_97 = (byte) 0x97;
	public static final byte ADD_FREQUENCY_PARA_98 = (byte) 0x98;
	public static final byte ADD_SERIAL = (byte) 0x34;
	
	/**
	 * The relay automatically closes to enable setting
	 */
	public static final byte ADD_RELAY_AUTOMATIC_CLOSE = (byte) 0xC7;
	
	/**
	 * Relay delay time setting
	 */
	public static final byte ADD_RELAY_TIME_DELAY = (byte) 0xC6;
	
	/**
	 * work mode
	 */
	public static final byte ADD_WORKMODE = 0x70;
	
	/**
	 * time interval
	 */
	public static final byte ADD_TIME_INTERVAL = 0x71;
	/**
	 * Timing mode read speed
	 */
	public static final byte ADD_READSPEED = (byte) 0xC8;
}
